<template>
  <van-swipe class="my-swipe" :autoplay="1000" indicator-color="white">
    <van-swipe-item v-for="(item, index) in bannerList" :key="index">
      <img :src="item" />
    </van-swipe-item>
  </van-swipe>
</template>

<script>
export default {
    props:['bannerList']
};
</script>
<style lang="scss">
  .my-swipe .van-swipe-item {
    height: 100%;
    width: 100%;
  }
</style>